package cn.jhz.learn.blog.dao.article;

import cn.jhz.learn.blog.po.article.BlogArticleComment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BlogArticleCommentMapper{
    int deleteByPrimaryKey(Integer id);

    int insert(BlogArticleComment record);

    int insertSelective(BlogArticleComment record);

    BlogArticleComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogArticleComment record);

    int updateByPrimaryKey(BlogArticleComment record);

    /*自定义*/
    int countByArticleId(@Param("article_id") Integer articleId);
}